<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>{% block  title %}{% endblock %}</title>
    {% block header %}

    {% endblock %}
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
</head>

<body>
<!-- header  -->
<header class="header">
    <div class="container">
        <div class="logo-box">
            <a href="/"></a>
        </div>
        <ul class="nav">
            <li class="active"><a href="#">资讯</a></li>
            <li><a href="#">创业课堂</a></li>
            <li><a href="#">付费资讯</a></li>
            <li><a href="#">搜索</a></li>
        </ul>
        <div class="auth-box">
            {% if user.is_authenticated %}
                <span class="author">{{ user.username }}</span>
                <div class="author-info">
                    {% if user.is_staff %}
                        <a href="{% url 'cms:index' %}">管理系统</a>
                    {% endif %}
                    <a href="{% url 'xfzauth:logout' %}">退出</a>
                </div>
            {% else %}
                <a href="javascript:;" class="signin">登录</a> / <a href="javascript:;" class="signup">注册</a>
            {% endif %}
        </div>
    </div>
</header>
<!-- main  -->
{% block main %}

{% endblock %}

<div class="footer">
    <div class="section">
        <div class="wrapper">
            <div class="partner">
                <h3>合作伙伴</h3>
                <ul>
                    <li>
                        <a href="#"><img src="https://static-image.xfz.cn/1454046552_487.png" alt=""></a>
                    </li>
                    <li>
                        <a href="#"><img src="https://static-image.xfz.cn/1454046053_122.png" alt=""></a>
                    </li>
                    <li>
                        <a href="#"><img src="https://static-image.xfz.cn/1454046135_474.png" alt=""></a>
                    </li>
                    <li>
                        <a href="#"><img src="https://static-image.xfz.cn/1454047318_361.png" alt=""></a>
                    </li>
                </ul>
            </div>
            <div class="about">
                <div class="logo"></div>
                <div class="links">
                    <a href="#">关于小饭桌</a>|
                    <a href="#">小饭桌创业课堂</a>|
                    <a href="#">凡创资本</a>|
                    <a href="#">凡卓资本</a>
                </div>
                <div class="cooperate">
                    融资服务： <a href="#">bp@xfz.cn</a> 商务合作： <a href="#">bd@xfz.cn</a>
                </div>
                <div class="address">
                    地址：北京市朝阳区东三环北路38号院泰康金融大厦
                </div>
                <div class="attention">
                    关注我们：
                    <span class="showWx">小饭桌</span> <span class="showWx2">小饭桌创业课堂</span>
                    <div class="wxQr"></div>
                    <div class="wxQr2"></div>
                </div>
            </div>
        </div>
    </div>
    <div class="bottom">
        <p>©2020 北京子木投资顾问有限公司 京ICP备15051289号 | 增值电信业务经营许可证：京B2-20170574</p>
    </div>
</div>
{% include 'common/auth.html' %}
<script src="https://unpkg.com/art-template/lib/template-web.js"></script>
<script src="{% static 'js/xfzAjax.min.js' %}"></script>
<script src="{% static 'js/auth.min.js' %}"></script>
{% block footer %}

{% endblock %}
</body>

</html>